home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…ry 5: (Reseller Edition) / Apple Reference & Presentations Library 5.0 (Reseller Edition).iso / 5-Fonts & Software / Applications / Aldus PageMaker 3.02 / APDs / LaserWriter.apd < prev    next >
Text File  |  1988-11-20  |  8KB  |  199 lines

  1. @Comment: "LaserWriter.apd" for original Apple LaserWriter printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   3.3  $
  4. @Comment:     $Date:   25 Feb 1988 16:55:18  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, and 3.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(LaserWriter)"
  10. @PSVersion: "(37.0)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @FreeVM: "170000"
  20. @WorkingMem: "25000"
  21. @AldusHeaderMem: "34000"
  22. @Comment: Example of declaration of a downloadable font's memory requirement:
  23. @Comment: @FontMem "Benjo-Light": "82600"
  24.  
  25. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  26. @PatchFile: "statusdict begin 0 setjobtimeout end userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  27. @AldusPatchFile: ""
  28. @ExitServer: "serverdict begin exitserver "
  29. @Password: "0"
  30.  
  31. @DefaultScreenFreq: "60"
  32. @DefaultScreenAngle: "45"
  33. @DefaultScreenProc: "{dup mul exch dup mul add sqrt 1 exch sub}"
  34.  
  35. @ScreenFreq: ""
  36. @ScreenAngle: ""
  37. @ScreenProc: ""
  38.  
  39. @InvertScreenProc: "{dup mul exch dup mul add 1 sub}"
  40. @Transfer: ""
  41. @InvertTransfer: "{1 exch sub}"
  42.  
  43. @NormalizedTransfer: "{
  44. mark
  45. 1.0 1.0 .98 .9 .82 .68 .56 .48 .28 .1 .06 .0
  46. counttomark dup 3 add -1 roll exch
  47. 2 sub mul dup floor cvi
  48. dup 3 1 roll sub
  49. exch dup 
  50. 3 add index exch 2 add index dup
  51. 4 1 roll
  52. sub mul add
  53. counttomark 1 add 1 roll 
  54. cleartomark
  55. } bind"
  56. @End
  57.  
  58. @InvertNormalizedTransfer: "{
  59. mark
  60. .0 .0 .06 .1 .28 .48 .56 .68 .82 .9 .98 1.0
  61. counttomark dup 3 add -1 roll exch
  62. 2 sub mul dup floor cvi
  63. dup 3 1 roll sub
  64. exch dup 
  65. 3 add index exch 2 add index dup
  66. 4 1 roll
  67. sub mul add
  68. counttomark 1 add 1 roll 
  69. cleartomark
  70. } bind"
  71. @End
  72.  
  73. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  74. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  75. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  76. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  77. @?OutputOrder: "/pagestackorder where{pagestackorder {(facedown)}{(faceup)}
  78.  ifelse}{(faceup)}ifelse = flush"
  79. @Comment: Paper tray query compares returned value with selected PageSize,
  80. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  81. @?PaperTray: "mark ()/printerstatus where{pop/T printerstatus 16#07E and def 
  82.  T 2 eq{(A4)}if T 8 eq{(Letter)}if T 18 eq{(B5)}if T 24 eq{(Legal)}if}if 
  83.  = flush cleartomark"
  84. @End
  85.  
  86. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  87. @DefaultPageSize:        "Letter"
  88. @PageSize Letter:        "letter"
  89. @PageSize Lettersmall:    "lettersmall"
  90. @PageSize A4:            "a4"
  91. @PageSize A4small:        "a4small"
  92. @PageSize B5:            "b5"
  93. @PageSize Legal:        "legal"
  94.  
  95. @Comment: PageRegion gives the printable area of each paper option.
  96. @PageRegion Letter:         "18 7.92 594 784.08"
  97. @PageRegion Lettersmall:     "29.52 30.24 582.48 761.76"
  98. @PageRegion A4:             "18.0 22.0 573.0 819.0"
  99. @PageRegion A4small:         "28.80 30.24 566.64 811.44"
  100. @PageRegion B5:             "17.28 2.88 481.68 705.60"
  101. @PageRegion Legal:             "64.08 41.76 547.92 966.24"
  102.  
  103. @Comment: PaperDimension gives the total paper size of each option.
  104. @PaperDimension Letter:         "612 792"
  105. @PaperDimension Lettersmall:     "612 792"
  106. @PaperDimension A4:             "595.28 841.89"
  107. @PaperDimension A4small:         "595.28 841.89"
  108. @PaperDimension B5:             "498.90 708.66"
  109. @PaperDimension Legal:             "612 1008"
  110.  
  111. @DefaultOutputOrder: "faceup"
  112.  
  113. @ManualFeed true: "statusdict begin /manualfeed true def end"
  114. @ManualFeed false: "statusdict begin /manualfeed false def end"
  115.  
  116. @DefaultFont: "Courier"
  117. @Font "Times-Roman": "Standard" "(001.000)"
  118. @Font "Times-Bold": "Standard" "(001.000)"
  119. @Font "Times-Italic": "Standard" "(001.000)"
  120. @Font "Times-BoldItalic": "Standard" "(001.000)"
  121. @Font "Helvetica": "Standard" "(001.000)"
  122. @Font "Helvetica-Bold": "Standard" "(001.000)"
  123. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  124. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  125. @Font "Courier": "Standard" "(001.000)"
  126. @Font "Courier-Bold": "Standard" "(001.000)"
  127. @Font "Courier-Oblique": "Standard" "(001.000)"
  128. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  129. @Font "Symbol": "Standard" "(001.000)"
  130.  
  131.  
  132. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  133. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  134.  
  135. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  136.                 : "Printer “^2” needs attention: paper jam."
  137. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  138.                 : "Printer “^2” needs attention: \Reason\."
  139.  
  140. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  141.                 : "Printer “^2” needs attention: paper jam."
  142. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  143.                 : "Printer “^2” needs attention: \Reason\."
  144.  
  145. @ParameterReason    "no paper tray" :         "no paper tray"
  146. @ParameterReason    "out of paper" :         "out of paper"
  147. @ParameterReason    "cover open" :             "cover open"
  148. @ParameterReason    "warming up" :             "warming up"
  149. @ParameterReason    "service call" :         "service call"
  150. @ParameterReason    "resetting printer" :     "resetting printer"
  151. @ParameterReason    "cover open" :             "cover open"
  152. @ParameterReason    "timeout, clearing printer" : "timeout"
  153. @ParameterReason    "timeout" :             "timeout"
  154. @ParameterReason    "manual feed timeout" : "manual feed timeout"
  155. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  156.  
  157.  
  158. @Comment: PrinterMessage displays the translation string in the status line.
  159. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  160.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  161. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  162.                 : "Document: \jobname\;  status: \Status\."
  163. @PrinterMessage     "status: \Status\; source: \source\"
  164.                 : "Status: \Status\."
  165. @PrinterMessage     "\Font1\ not found, using \Font2\"
  166.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  167.  
  168. @ParameterStatus     "idle"    : "idle"
  169. @ParameterStatus     "busy"    : "processing job"
  170. @ParameterStatus     "waiting"    : "preparing data"
  171. @ParameterStatus    "printing"    : "printing"
  172.  
  173. @Comment: a null translation string causes no message to display.
  174. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  175.                 : ""
  176. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  177.                 : ""
  178.  
  179. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  180. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  181. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  182.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  183.  
  184. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  185. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  186.                 : "The font being downloaded has not been initialized for this printer."
  187. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  188.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  189. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  190.                 : "The printer had to wait too long, and went on to the next job; try again."
  191. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  192.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  193. @PrinterErrorAlert    "Fatal system error \error\"
  194.                 : "The printer has encountered an error. Simplify your document or try again."
  195.  
  196.  
  197.  
  198.  
  199.